<include file="Public:header" />
<div id="zoneHeader">
    <h2>网站管理</h2>
</div><!--/#zoneHeader-->
<div id="zoneBody">
    <div id="zoneBodySearch">
        <form id="formSearch" action="?c={$Think.const.CONTROLLER_NAME}">
            <input type="hidden" name="sort" />
            <input type="hidden" name="sortdir" />
            <ul>
                <li><b>
                    <select name="search_item_1">
                        <option value="id">网站编号</option>
                        <option value="uid">站长编号</option>
                        <option value="user_name">站长名称</option>
                    </select> ：</b>
                    <input type="text" name="search_item_val_1" class="fW100p" />
                </li>
                <li><b>网站名称：</b><input type="text" name="site_name" class="fW150p" /></li>
                <li><b>网址：</b><input type="text" name="site_domain" class="fW150p" /></li>
                <li>
                    <select name="status">
                        <option value="">网站状态</option>
                        <volist name=":C('SITE_STATUS')" id="vo">
                        <option value="{$key}">{$vo}</option>
                        </volist>
                    </select>
                </li>
                <li><button type="button" id="as" class="btnSearch">查询</button></li>
                <li><button type="button" class="btnResetForm">清空表单</button></li>
            </ul>
        </form>
    </div><!--/#zoneBodySearch-->
    <div id="zoneBodyContent">
        <table class="table2">
            <thead>
                <tr>
                    <th class="tAr" width="100"><a href="javascript:;" sort="id">编号</a></th>
                    <th>UID</th>
                    <th>域名</th>
                    <th>状态</th>
                    <th>创建时间</th>
                    <th>备注</th>
                    <th class="tAction">&nbsp;</th>
                </tr>
            </thead>
            <tbody>
                <volist name="page.record" id="vo">
                <tr>
                    <td class="tAr">{$vo.id}</td>
                    <td>{$vo.uid}</td>
                    <td>{$vo.domain}</td>
                    <td>{$vo.status|getSiteStatusCn}</td>
                    <td>{$vo.create_time}</td>
                    <td>{$vo.comment}</td>
                    <td class="tAction">
                        <a href="?c=Site&a=modify&id={$vo.id}">编辑</a>
                        <a href="?c=Site&a=del&id={$vo.id}" t="firm" m="确认删除此网站吗？">删除</a>
                    </td>
                </tr>
                </volist>
            </tbody>
        </table>
    </div><!--/#zoneBodyContent-->
</div><!--/#zoneBody-->
<div id="zoneFooter">{:W('Page/info', [$page])}</div><!--/#zoneFooter-->
<include file="Public:footer" />
